package com.example.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LeaveRequestDTO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long studentId;
    private String studentName;
    private String stuAvatar;
    private Integer leaveType;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long classId;
    private String comments;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long leaveId;
    private LocalDate startDate;
    private LocalDate endDate;
    private Integer leaveStatus;
    private Integer leaveDays;
    private String reason;
    private String imageUrls;
    private LocalDateTime publishDate;
    private LocalDateTime auditDate;
}